package com.example.demo.dao;

import com.example.demo.vo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 声明是一个Mapper,与springbootApplication中的@MapperScan二选一写上即可
 */
@Mapper
@Repository
public interface UserMapper {
    User selectUserByName(String name);
}